<!--查看已评价学员-->
<template>
  <div class="assessment-container" style="width:100%">
    <div class="search-container">
      <div class="search-container-left">
        <div class="search-container-item">
          <span >系部：</span>
          <el-select
            v-model="xibu"
            style="width: 140px;margin-right:5px"
            size="mini"
            placeholder="请选择"
            @change="handleXb"
            clearable
          >
            <el-option
            style="margin-right:5px"
              v-for="(item,index) in xbList"
              :key="index"
              :label="item.deptName"
              :value="item.deptName"
            >
            </el-option>
          </el-select>
        </div>
        <div class="search-container-item">
          <span>教研室:</span>
          <el-select
              v-model="classroom"
              style="width: 140px"
              size="mini"
              placeholder="请选择"
              @change="handleClass"
              clearable
            >
              <el-option
                v-for="(item,index) in gClassList"
                :key="index"
                :label="item.deptName ? item.deptName : item.value"
                :value="item.deptName ? item.deptName : item.value"
              >
              </el-option>
            </el-select>
        </div>
        <div class="search-container-item">
          <span>课程名称:</span>
          <el-input
            style="width: 152px"
            size="mini"
            placeholder="请输入内容"
            v-model="coursename"
          ></el-input>
        </div>
        <div class="search-container-item">
          <span>上课教员:</span>
          <el-input
            style="width: 152px"
            size="mini"
            placeholder="请输入内容"
            v-model="teachername"
          ></el-input>
        </div>
        <div class="search-button" @click="queryallyes">
          <img src="../../../assets/assessment/icon-search.png" alt="" />
          <span>查询</span>
        </div>
      </div>
    </div>
    <div class="plan-entry-table-container">
      <el-table
        :data="tableData"
        style="width: 100%"
        class="xpaas-table-class"
        row-class-name="xpaas-row-class"
        cell-class-name="xpaas-cell-class"
        header-row-class-name="xpaas-header-row-class"
        header-cell-class-name="xpaas-header-cell-class"
        @selection-change="handleSelectionChange"
      >
        <el-table-column width="70" align="center" type="selection">
        </el-table-column>
        <el-table-column
          prop="department"
          label="系"
          width="170"
          align="center"
        >
        </el-table-column>
        <el-table-column
          prop="staffroom"
          label="教研室"
          width="198"
          align="center"
        >
        </el-table-column>
        <el-table-column
          prop="teachername"
          label="教员"
          width="126"
          align="center"
        >
        </el-table-column>
        <el-table-column
          prop="coursename"
          label="课程名称"
          width="220"
          align="center"
        >
        </el-table-column>
        <el-table-column prop="grade" label="年级" width="160" align="center">
        </el-table-column>
        <el-table-column
          prop="classes"
          label="教学班"
          width="225"
          align="center"
        >
        </el-table-column>
        <el-table-column
          prop="classes"
          label="评价人数"
          width="225"
          align="center"
        >
        </el-table-column>
        <el-table-column
          prop="dengji"
          label="评价等级"
          width="212"
          align="center"
        >
        </el-table-column>
        <el-table-column
          prop="score"
          label="评价得分"
          width="212"
          align="center"
        >
        </el-table-column>
      </el-table>
    </div>
    <div class="bottom-block">
      <div class="export-button">
        <img src="../../../assets/assessment/icon-export.png" alt="" />
        <download-excel
          class="export-btn"
          :data="tableData"
          :fields="jsonFields"
          type="xls"
          name="已评价学员信息.xls"
          style="color: #f3b815"
        >
          &ensp;导出Excel
        </download-excel>
      </div>
    </div>
  </div>
</template>

<script>
import { queryallyes } from "@/api/teacher/admin";
import { zsxbselset } from "@/api/professional/details";
import { getxb,getClass,queryXBclassroom } from "@/api/course/courses";
export default {
  data() {
    return {
      xbList:[],
      gClassList:[],
      //导出Excel
      jsonFields: {
        系: "department",
        教研室: "staffroom",
        教员: "teachername",
        课程名称: "coursename",
        年级: "grade",
        教学班: "classes",
        评价人数: "classes",
        评价等级: "dengji",
        评价得分: "score"
      },

      a1: "名称填写",
      a2: "A,B,C,D",
      a3: "A",
      a4: "张三",
      planidArr: [],
      showYprDialog: "",
      dialogTitle: "选择教员",
      xibu: "",
      zsxbList: [],
      tableData: [],
      coursename: "",
      classroom: "",
      teachername: "",
      showManualEntryDialogascD: false,
      showInportReportDialog: false,
      reportType: "课下作业",
      reportTypes: [
        { label: "课下作业", value: "课下作业" },
        { label: "课下测评", value: "课下测评" },
        { label: "期中考试", value: "期中考试" },
        { label: "课终考核", value: "课终考核" }
      ],
      reportTypep: "按教学班导出",
      reportTypepss: [
        { label: "按教学班导出", value: "按教学班导出" },
        { label: "按课程导出", value: "按课程导出" }
      ]
    };
  },
  mounted() {
    this.xbAll();
    this.classAll();
    this.zsxbselset();
    this.queryallyes();
  },
  methods: {
    async xbAll(){
      const xb = await getxb();
      xb.data.code == 200 ? this.xbList = xb.data.data : [];
    },
    async classAll(){
      const gClass = await getClass();
      gClass.data.code == 200 ? this.gClassList = gClass.data.data : [];
    },
    // 根据系部选中获取教研室
    async handleXb(val){
      if(val){
        const xbClass = await queryXBclassroom(val);
        xbClass.data.code == 200 ? this.gClassList = xbClass.data.data : [];
        this.classroom = ''
      } else {
        this.xbAll();
        this.classAll();
      }
    },
    // 教研室下拉框的改变
    handleClass(val){
      if(!val){
        this.xb ? this.handleXb(this.xb)  : this.classAll();
      }
    },
     zsxbselset() {
      zsxbselset().then(res => {
        this.zsxbList = res.data.data;
        console.log(this.zsxbList, "555");
      });
    },
    //根据ID查询全部已评价学员
    queryallyes() {
      let obj = {
        classroom: this.classroom,
        coursename: this.coursename,
        teachername: this.teachername,
        xibu: this.xibu,
        evalprojectid: this.$route.query.evalprojectid,
      };
      return new Promise(() => {
        queryallyes(obj).then(res => {
          this.tableData = res.data.data;
          let arr = [];
          for (let i = 0; i < this.tableData.length; i++) {
            let pjEvalactor = this.tableData[i].pjEvalactor;
            let pjResult = this.tableData[i].pjResult;
            let studentInfo = this.tableData[i].studentInfo;
            let obj = { ...pjEvalactor, ...pjResult, ...studentInfo };
            arr.push(obj);
          }
          this.tableData = arr;
          console.log(this.tableData);
        });
      });
    }
  }
};
</script>
<style lang="less" scoped>
@fontFamily:"Microsoft YaHei";
.xpaas-table-class {
  border: 1px solid #004ca7;
  border-radius: 9px;
  margin: 15px 0;
  > ::v-deep div.el-table__header-wrapper {
    > table.el-table__header {
      > thead {
        > tr.xpaas-header-row-class {
          padding: 0;
          height: 76px;
          background-color: #edf2f9;
          font-size: 16px;
          font-family: Microsoft YaHei;
          font-weight: bold;
          line-height: 20px;
          color: #004ca7;
          > th.xpaas-header-cell-class {
            font-weight: bold;
            border-right: 1px solid #c7d7eb;
            border-left: 0;
            border-bottom: 1px solid #c7d7eb;
            background-color: #edf2f9;
            > div.cell {
              font-size: 16px;
              font-weight: bold;
              font-family: @fontFamily;
              color: #004ca7;
            }
          }
        }
      }
    }
  }
  > ::v-deep div.el-table__body-wrapper {
    > table.el-table__body {
      > tbody {
        > tr.xpaas-row-class {
          > td.xpaas-header-cell-class {
            border-right: 1px solid #c7d7eb;
            border-left: 0;
            border-bottom: 1px solid #c7d7eb;
            background-color: #edf2f9;
            > div.cell {
              font-size: 16px;
              font-weight: bold;
              font-family: @fontFamily;
              color: #004ca7;
            }
          }
          > td.xpaas-cell-class {
            height: 76px;
            border-right: 1px solid #c7d7eb;
            border-left: 0;
            border-bottom: 1px solid #c7d7eb;
            > div.cell {
              font-weight: normal;
              font-family: @fontFamily;
              color: #004ca7;
            }
          }
        }
      }
    }
  }
}
.my-cas {
  margin-right: -200px;
  margin-left: 30px;
}
.my-from-span {
  width: 195px;
  height: 39px;
  font-size: 17px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  line-height: 39px;
  color: #004ca7;
  opacity: 1;
}
.back-container {
  .back-text {
    margin-top: 33px;

    > div {
      display: inline-block;

      &:nth-child(1) {
        padding-left: 111px;
        font-size: 20px;
        color: rgba(0, 76, 167, 1);
        font-weight: bold;
        vertical-align: top;
      }
    }
  }

  .el-dialog__footer {
    padding-bottom: 95px;
  }
}
.manual-entry-container {
  .el-dialog__body {
    height: 390px;
    > div {
      width: 1014px;
      border: 1px solid rgba(0, 76, 167, 0.8);
      border-radius: 6px;
      margin: 0 auto;
      > div {
        border-bottom: 1px solid rgba(0, 76, 167, 0.39);
        &:last-child {
          border-bottom: none;
        }
        > div {
          display: flex;
          > div {
            height: 96px;
            display: flex;
            align-items: center;
            justify-content: center;
            &:nth-child(1) {
              width: 420px;
              text-align: center;
              font-size: 16px;
              font-weight: bold;
              color: #004ca7;
              background: rgba(77, 129, 192, 0.1);
            }
            &:nth-child(2) {
              padding-left: 19px;
            }
          }
        }
      }
    }
  }
  .el-dialog__footer {
    padding-bottom: 43px;
  }
  .dialog-footer {
    > button {
      width: 87px;
      height: 36px;
      background: #fff6ef;
      border: 1px solid #f3b815;
      border-radius: 6px;
      background: rgba(255, 246, 239, 1);
      font-size: 18px;
      color: #f3b815;
    }
  }
}
.message-container {
  .message-text {
    > div {
      padding: 57px 0 63px 0;
      font-size: 18px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
      text-align: center;
    }
  }

  .el-dialog__footer {
    padding-bottom: 95px;
    display: flex;
    justify-content: space-evenly;
  }
}

.paper-message-container {
  .paper-message-text {
    > div {
      padding: 57px 0 63px 0;
      font-size: 18px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
      text-align: center;
    }
  }

  .el-dialog__footer {
    padding-bottom: 95px;
  }

  .confirm-button {
    width: 87px;
    height: 36px;
    padding: 0;
    background: #f1fff8;
    border: 1px solid #02c86c;
    border-radius: 4px;
    font-size: 18px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #02c86c;
    cursor: pointer;
    margin-right: 92px;
  }

  .cancle-button {
    .confirm-button;
    background: #fff6ef;
    border: 1px solid #f3b815;
    color: #f3b815;
    margin-right: 0px;
  }
}

.upload-paper-container {
  .paper-container {
    width: 100%;
    height: 236px;
    opacity: 1;

    .paper-container-row {
      display: flex;
      flex-direction: row;
      align-items: center;
      font-family: Microsoft YaHei;

      margin-bottom: 35px;
      border: 1px solid #004ca7;

      .paper-container-box1 {
        width: 233px;
        height: 126px;
        background: rgba(0, 76, 167, 0.1);
        opacity: 0.1;
        border-radius: 5px 0px 0px 0px;
        display: flex;
        align-items: center;
        justify-content: center;

        .title {
          width: 90px;
          height: 24px;
          font-size: 18px;
          font-family: Microsoft YaHei;
          font-weight: bold;
          line-height: 20px;
          color: rgba(0, 76, 167, 1);
          opacity: 1;
        }
      }

      .paper-container-box2 {
        margin-left: 15px;
      }

      .upload-button {
      }

      .file-name {
        max-width: 340px;
        margin-right: 10px;
      }

      .scan-button {
        width: 62px;
        height: 28px;
        line-height: 28px;
        background: #fff6ef;
        border: 1px solid #f3b815;
        border-radius: 4px;
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #f3b815;
        text-align: center;
        cursor: pointer;
      }

      .download-button {
        .scan-button;
        background: #f1f8fe;
        border: 1px solid #51aef6;
        color: #51aef6;
      }

      img {
        width: 18px;
        height: 19px;
        margin-right: 14px;
      }

      .re-upload-button {
        .upload-button;
        width: 80px;
        color: #02c86c;
        border: 1px solid #02c86c;
        background: #dfffef;

        input {
          width: 80px;
        }
      }
    }
  }

  .el-dialog__footer {
    padding-bottom: 95px;
  }

  .confirm-button {
    width: 87px;
    height: 36px;
    padding: 0;
    background: rgba(90, 101, 204, 0.1);
    border: 1px solid #5230e9;
    border-radius: 4px;
    font-size: 18px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #5230e9;
    cursor: pointer;
    margin-right: 92px;
  }

  .cancle-button {
    .confirm-button;
    background: #ffefef;
    border: 1px solid #ff3819;
    color: #ff3819;
    margin-right: 0px;
  }

  .download-button {
    .confirm-button;
    background: #f1f8fe;
    border: 1px solid #51aef6;
    color: #51aef6;
    margin-right: 92px;
  }
}

.plan-entry-table-container {
  margin-top: 30px;

  .el-table td,
  .el-table th.is-leaf,
  .el-table--border,
  .el-table--group {
    border-color: #c7d7eb;
  }

  .el-table__header tr,
  .el-table__header th {
    padding: 0;
    height: 76px;
    background-color: #edf2f9;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 20px;
    color: #004ca7;
  }

  .el-table__body tr,
  .el-table__body td {
    padding: 0;
    height: 86px;
  }

  .export-button {
    background: #ebe6ff;

    cursor: pointer;

    background: #fff6ef;
    border: 1px solid #5230e9;
    width: auto;
    height: 28px;
    line-height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

    > span {
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #f3b815;
    }

    > img {
      width: 16px;
      height: 16px;
      margin-right: 5px;
    }
  }

  .bk-lucj-import-button {
    .export-button;
    width: 70px;
    background: #f1fff8;
    border: 1px solid #02c86c;
    box-sizing: border-box;
    margin: 0 auto 12px;

    &:last-child {
      margin-bottom: 0px;
    }

    > span {
      color: #02c86c;
    }
  }

  .bk-lucj-expot-button {
    .export-button;
    width: 156px;
    background: #fef1e8;
    border: 1px solid #f86900;
    box-sizing: border-box;
    margin: 0 auto 12px;

    &:last-child {
      margin-bottom: 0px;
    }

    > span {
      color: #f86900;
    }
  }

  .tjst-button {
    width: 78px;
    height: 27px;
    line-height: 27px;
    background: #f1f8fe;
    border: 1px solid #51aef6;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #51aef6;
    cursor: pointer;
  }

  .dh-button {
    .tjst-button;
    margin-top: 12px;
    background: #ffefef;
    border: 1px solid #ff3819;
    color: #ff3819;
  }

  .cx-button {
    .tjst-button;
    background: #ffefef;
    border: 1px solid #ff3819;
    color: #ff3819;
  }

  .cz-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .txmtjh-button {
    .tjst-button;
    width: 114px;
    background: #fff6ef;
    border: 1px solid #f3b815;
    color: #f3b815;
  }

  .ckmtjh-button {
    .tjst-button;
    width: 114px;
    background: #f1fff8;
    border: 1px solid #02c86c;
    color: #02c86c;
  }

  .xz-button {
    .tjst-button;
    width: 51px;
    background: #edf2f9;
    border: 1px solid #004ca7;
    color: #004ca7;
  }

  .name-button {
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    line-height: 25px;
    color: #004ca7;
    text-decoration: underline;
  }

  .name-button:hover {
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 25px;
    color: #187ef8;
  }

  .upload-button {
    .tjst-button;
    width: 98px;
    margin: 0 5px;
    background: #efebff;
    border: 1px solid #5230e9;
    color: #5230e9;
  }

  .download-button {
    .tjst-button;
    width: 48px;
    margin: 0 5px;
  }

  .yl-button {
    .tjst-button;
    width: 48px;
    margin: 0 5px;
    background: #fff6ef;
    border: 1px solid #f3b815;
    color: #f3b815;
  }

  .cz-row-block {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    .download-buttones {
      align-items: center;
      width: 78px;
      height: 28px;
      line-height: 28px;
      background: #efebff;
      border: 1px solid #5230e9;

      border-radius: 6px;
      cursor: pointer;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;

      > span {
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #5230e9;
      }
      > img {
        width: 16px;
        height: 16px;
        margin-right: 10px;
      }
    }
    .download-buttons {
      align-items: center;
      width: 78px;
      height: 28px;
      line-height: 28px;
      background: #ffefef;
      border: 1px solid #ff3819;
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;

      > span {
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #fb563c;
      }
      > img {
        width: 16px;
        height: 16px;
        margin-right: 10px;
      }
    }
    .ztcz-detail {
      .download-buttons;
      background: #f1fff8;
      border: 1px solid #02c86c;
      > span {
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #02c86c;
      }
    }
  }

  .zz-button {
    .tjst-button;
    width: 132px;
    margin: 5px;
    background: #efebff;
    border: 1px solid #5230e9;
    color: #5230e9;
  }

  .tx-button {
    .tjst-button;
    width: 132px;
    letter-spacing: 2px;
    margin: 0 5px;
    background: #f1f8fe;
    border: 1px solid #51aef6;
    color: #51aef6;
  }

  .sjfx-button {
    .tjst-button;
    width: 114px;
    margin: 0 5px;
    background: #fff6ef;
    border: 1px solid #f3b815;
    color: #f3b815;
  }
}

.choose-ypr-container {
  width: 767px;
  margin: 0px auto;

  .choose-ypr-search-container {
    .el-input--prefix .el-input__inner {
      padding-left: 30px;
    }

    .el-input__inner {
      &::placeholder {
        color: #b8b8b8;
      }

      &::-webkit-input-placeholder {
        /* WebKit browsers 适配谷歌 */
        color: #b8b8b8;
      }

      &:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 适配火狐 */
        color: #b8b8b8;
      }

      &::-moz-placeholder {
        /* Mozilla Firefox 19+ 适配火狐 */
        color: #b8b8b8;
      }

      &:-ms-input-placeholder {
        /* Internet Explorer 10+  适配ie*/
        color: #b8b8b8;
      }
    }

    display: flex;
    flex-direction: row;
    align-items: center;

    .title {
      font-size: 18px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
      margin-right: 5px;
    }

    .search-button {
      width: 127px;
      height: 28px;
      line-height: 28px;
      background: #f1f8fe;
      border: 1px solid #51aef6;
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;

      > span {
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #51aef6;
      }

      > img {
        width: 20px;
        height: 20px;
        margin-right: 4px;
      }
    }

    .button-list {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-left: 21px;

      .button-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 69px;
        height: 27px;
        line-height: 27px;
        border: 1px solid #004ca7;
        border-radius: 4px;
        margin-right: 10px;
        text-align: center;
        font-size: 14px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #004ca7;

        .del-icon {
          position: absolute;
          right: 0px;
          top: 0px;
          width: 12px;
          height: 12px;
          padding: 2px;
        }
      }
    }
  }

  .choose-ypr-table-container {
    margin-top: 30px;

    .el-table td,
    .el-table th.is-leaf,
    .el-table--border,
    .el-table--group {
      border-color: #c7d7eb;
    }

    .el-table__header tr,
    .el-table__header th {
      padding: 0;
      height: 57px;
      background-color: #edf2f9;
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
    }

    .el-table__body tr,
    .el-table__body td {
      padding: 0;
      height: 51px;
    }

    .table-data {
      width: 100%;
      border: 0.8px solid #004ca7;
      border-radius: 9px;
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #004ca7;
    }
  }
}
.manual-entry-containerass {
  .el-dialog__body {
    > div {
      width: 1014px;
      border: 1px solid rgba(0, 76, 167, 0.8);
      border-radius: 6px;
      margin: 0 auto;
      > div {
        border-bottom: 1px solid rgba(0, 76, 167, 0.39);
        &:last-child {
          border-bottom: none;
        }
        > div {
          display: flex;
          > div {
            width: 900px;
            height: 96px;
            display: flex;
            align-items: center;
            justify-content: center;
            &:nth-child(1) {
              width: 900px;
              text-align: center;
              font-size: 16px;
              font-weight: bold;
              color: #004ca7;
              background: rgba(77, 129, 192, 0.1);
            }
          }
        }
      }
    }
  }
  .el-dialog__footer {
    padding-bottom: 43px;
  }
  .dialog-footer {
    > button {
      width: 87px;
      height: 36px;
      background: #fff6ef;
      border: 1px solid #f3b815;
      border-radius: 6px;
      background: rgba(255, 246, 239, 1);
      font-size: 18px;
      color: #f3b815;
    }
  }
}
.pagination-block {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.import-report-container {
  height: 400px;
}
.el-table .cell {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-all;
  line-height: 23px;
  display: flex;
  justify-content: center;
}
.manual-entry-container {
}

.assessment-container {
}

.plan-entry-table-container {
  margin-top: 30px;

  .el-table td,
  .el-table th.is-leaf,
  .el-table--border,
  .el-table--group {
    border-color: #c7d7eb;
  }

  .el-table__header tr,
  .el-table__header th {
    padding: 0;
    height: 76px;
    background-color: #edf2f9;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 20px;
    color: #004ca7;
  }

  .el-table__body tr,
  .el-table__body td {
    padding: 0;
    height: 86px;
  }

  .el-checkbox__inner:hover {
    border-color: #004ca7;
  }

  .el-checkbox__inner {
    border: 1px solid #004ca7;
    border-radius: 0;
  }

  .el-checkbox__input.is-checked .el-checkbox__inner,
  .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #004ca7;
    border-color: #004ca7;
  }

  .el-checkbox__input.is-checked + .el-checkbox__label {
    color: #004ca7;
  }

  .el-checkbox.is-bordered.is-checked {
    border-color: #004ca7;
  }

  .el-checkbox__input.is-focus .el-checkbox__inner {
    border-color: #004ca7;
  }

  .export-button {
    background: #fff6ef;
    border: 1px solid #f3b815;
    width: auto;
    height: 28px;
    line-height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    box-sizing: border-box;

    > span {
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #f3b815;
    }

    > img {
      width: 16px;
      height: 16px;
      margin-right: 5px;
    }
  }

  .lucj-import-button {
    .export-button;
    width: 116px;
    margin: 0 auto 12px;
    background: #f1fff8;
    border: 1px solid #02c86c;

    &:last-child {
      margin-bottom: 0px;
    }

    > span {
      color: #02c86c;
    }
  }

  .lucj-expot-button {
    .export-button;
    background: #fff6ef;
    border: 1px solid #f3b815;
    width: 81px;
    margin: 0 auto 12px;

    &:last-child {
      margin-bottom: 0px;
    }

    > span {
      color: #f3b815;
    }
  }
}
</style>

<style lang="less" scoped>
@import "../../../styles/print-entry.less";

.plan-entry-table-container {
  margin-top: 30px;

  .table-data {
    width: 100%;
    border: 0.8px solid #004ca7;
    border-radius: 9px;
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #004ca7;
  }
}
</style>
